package com.ruoyi.cm.mapper;

import com.ruoyi.cm.domain.CmBaContractSheets;
import com.ruoyi.cm.domain.CmBdQsCount;
import com.ruoyi.cm.domain.vo.CmBaContractSheetsVo;
import com.ruoyi.cm.domain.vo.PeriodMeasurementVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;


import java.util.List;
import java.util.Map;

/**
 * 合同清单详情Mapper接口
 *
 * @author zyb
 * @date 2024-09-24
 */
public interface CmBaContractSheetsMapper extends BaseMapperPlus<CmBaContractSheetsMapper, CmBaContractSheets, CmBaContractSheetsVo> {

    List<CmBaContractSheetsVo> selectContractDataList(@Param("bdId") String bdId, @Param("zdId") String zdId);

    List<PeriodMeasurementVo> selectMeasurementDataList(@Param("bdId") String bdId, @Param("zdId") String zdId, @Param("sheetId") String sheetId);

    List<PeriodMeasurementVo> selectMeasurementDataListCount(@Param("bdId") String bdId, @Param("zdId") String zdId, @Param("sheetId") String sheetId);

    List<Map<String, Object>> selcetFkblList(@Param("bdId") String bdId, @Param("zdId") String zdId);

    CmBdQsCount selectBdQsCount(@Param("bdId") String bdId, @Param("zdId") String zdId,@Param("qsId") String qsId);
}
